package git.soulbgm.proxy;

import git.soulbgm.interfaces.Static;
import git.soulbgm.service.StaticImpl;

/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2019-04-08 15:29
 * @description 静态代理例子
 */
public class StaticProxy implements Static {

    private Static st = new StaticImpl();

    @Override
    public int doExecute(int num) {
        System.out.println("执行Static前");
        int result = st.doExecute(num);
        System.out.println("执行Static后");
        return result;
    }
}
